Performing an additional decoding operation on an identified set of bits of a data block

ABSTRACT

A data block may be identified. A first decoding operation may be performed on the data block. An unsuccessful correction of an error of the data block associated with the first decoding operation may be determined. A set of bits of the data block that caused the unsuccessful correction of the error of the data block may be identified. In response to identifying the set of bits of the data black that is associated with the unsuccessful correction of the error, a second decoding operation on the set of bits of the data block may be performed. The second decoding operation may be different than the first decoding operation.

TECHNICAL FIELD

The present disclosure generally relates to a memory device, and more specifically, relates to performing an additional decoding operation on an identified set of bits of a data block.

BACKGROUND

A storage system may include one or more memory components that store data. For example, a solid-state drive (SSD) may include memory devices such as non-volatile memory devices. The SSD may further include an SSD controller that may manage each of the memory devices and allocate data to be stored at the memory devices. A host system may utilize the SSD and request data from the SSD. The SSD controller may be used to retrieve data from the corresponding memory devices and return the retrieved data to the host system.

BRIEF DESCRIPTION OF THE DRAWINGS

The present disclosure will be understood more fully from the detailed description given below and from the accompanying drawings of various implementations of the disclosure.

FIG. 1 illustrates an example computing environment that includes a storage system in accordance with some embodiments of the present disclosure.

FIG. 2 is a flow diagram of an example method to perform a second decoding operation on an identified set of bits that caused an unsuccessful correction of an error in accordance with some embodiments of the present disclosure.

FIG. 3A illustrates an example of a data block of a storage system in accordance with some embodiments of the present disclosure.

FIG. 3B illustrates an example of identifying a set of bits of a data block that are associated with an unsuccessful correction of an error in accordance with some embodiments of the present disclosure.

FIG. 4 is a flow diagram of an example method to perform a second decoding operation on an identified set of bits that caused an unsuccessful decoding operation based on status bits in accordance with some embodiments of the present disclosure.

FIG. 5 is a flow diagram of an example method to perform a second decoding operation having an extra-one-bit decoding on an identified set of bits using a determined discrepancy value in accordance with some embodiments of the present disclosure.

FIG. 6 illustrates an example of determining discrepancy values for a set of bits of a data block that are associated with an unsuccessful decoding operation in accordance with some embodiments of the present disclosure.

FIG. 7 is a block diagram of an example computer system in which implementations of the present disclosure may operate.

DETAILED DESCRIPTION

Aspects of the present disclosure are directed to performing an additional decoding operation on an identified set of bits of a data block. In general, a host system may utilize a storage system that includes one or more memory devices. The host system may provide data to be stored at the storage system and may subsequently retrieve data stored at the storage system. The data may be stored and retrieved from the memory devices within the storage system.

An example of a storage system is a solid-state drive (SSD) that includes non-volatile memory and a controller to manage the non-volatile memory. The controller may encode data into a format for storage at the storage system and may subsequently decode the encoded data when retrieving the corresponding data from the storage system. Such encoding and decoding operations may correspond to an error correction code (ECC) process that is used to correct errors when retrieving the corresponding data that has been stored at the storage system. For example, a number of bits of the decoded data stored at the storage system and received by the controller may have been inadvertently changed (e.g., flipped due to noise, interference, distortion, or bit synchronization errors). Specifically, a bit that may have originally been stored at a value of ‘0’ may be changed to a value of ‘1’ or vice versa. The encoding and decoding operations of the ECC process may be used to identify whether a particular bit has been switched and may subsequently change the value of the bit when returning the corresponding data.

As an example, block-wise product Bose-Chaudhuri-Hocquenghem (BWP-BCH) codes may be used to encode the data. In BWP-BCH codes, a data block may be arranged in a two-dimensional array of rows and columns. Each row and column of the two-dimensional array may be encoded with an error-correcting code, such as a binary BCH code. The intersections between a row and a column may be an entry of the array. Each entry of the array may include a set of bits of data. The controller may then decode the encoded data into the original sequence of characters (also referred to as “codewords” hereafter) that were encoded on the storage system. Codewords corresponding to encoded data stored on the storage system that are corrupted with errors may be transmitted from the storage system to the controller during a decoding operation.

BWP codes may be decoded using an iterative process. For example, each row of the two-dimensional array may be decoded to produce a corresponding codeword. Then, each column of the two-dimensional array may be decoded to produce a corresponding codeword. Decoding of BWP-BCH codes may be performed using hard decoding where the controller receives a binary channel output for each bit in the codeword.

The error-correcting code that is encoded with each row and column of the two-dimensional array may correct a number of errors in the error-correcting code's corresponding row or column that is less than or equal to the error-correcting code's correction capability. However, if the number of errors in the corresponding row or column is greater than the error-correcting code's correction capability, then the error-correcting code may not be able to correct the errors of the corresponding row or column, resulting in an unsuccessful correction of errors (also referred to as “unsuccessful decoding operation” hereafter). For example, if an error-correcting code has a correction capability of 4 errors and a row and/or column of the data block contains 4 errors, then the error-correcting code may correct the 4 errors of the row and/or column. However, if the error-correcting code has a correction capability of 4 errors and a row and/or column of the array contains 5 errors, then the error-correcting code may not be able to correct the errors of the row and/or column, resulting in an unsuccessful decoding operation. The correction capability of the error-correcting code may be proportional to a data size of the error-correcting code. For example, an error-correcting code having a correction capability of 3 errors may have a smaller data size than an error-correcting code having a correction capability of 4 errors.

Aspects of the present disclosure address the above and other deficiencies by performing a subsequent decoding operation on an identified set of bits of a data block. For example, the controller of the storage system may perform a first decoding operation on an identified data block. The first decoding operation may correct errors in rows and columns having a number of errors less than or equal to the correction capability of the first decoding operation. If any of the rows or columns of the data block contain more errors than the correction capability of the first decoding operation, then the decoding of those rows or columns may result in an unsuccessful correction of the errors. The controller may then identify any sets of bits of the data block that caused the unsuccessful correction of the errors. The unsuccessful correction of errors of any of the sets of bits of the data block may trigger the initiation of a second decoding operation. The second decoding operation may have a correction capability of one integer greater than the first decoding operation. For example, if the first decoding operation has a correction capability of 4, then the second decoding operation may have a correction capability of 5. In some implementations, the subsequent decoding operation may produce a list of possible codewords based on the correction of errors of a set of bits.

The second decoding method may have a correction capability of one integer greater than the first decoding operation by determining a discrepancy value for each bit of the set of bits that is associated with the unsuccessful correction of the errors. For example, if a set of bits of the data block contains 10 bits, then the second decoding operation may determine a discrepancy value for each of the 10 bits. The discrepancy value may be determined based on outputs of the first decoding operation. The second decoding operation may then identify which particular bits in the set of bits of the data block are to be corrected based on the determined discrepancy values. The second decoding operation may then correct the particular bits by switching the value of the particular bits from a 0 to a 1 or vice versa.

Thus, utilizing a second decoding operation may allow for correcting a greater number of errors during the decoding of the storage system and a better decoding accuracy, resulting in a higher chance of a successful decoding operation and reducing the amount of power usage and time dedicated to decoding operations. Furthermore, the second decoding operation may allow for the decoding of a greater number of errors without increasing the data size of the error-correcting code encoded with each row and column of the data block of the storage system. As a result, the performance of the controller may be improved by allowing for correcting a greater number of errors during the decoding of data without increasing the data size of the error-correcting code. Although the present disclosure describes correcting errors in a decoding operation of data being stored on a storage system, aspects of the present disclosure may be applied to any instance of error-correcting of a signal.

FIG. 1 illustrates an example computing environment 100 that includes a storage system 110. In general, the computing environment 100 may include a host system 120 that uses the storage system 110. For example, the host system 120 may write data to the storage system 110 and read data from the storage system 110.

The host system 120 may be a computing device such as a desktop computer, laptop computer, network server, mobile device, or such computing device that includes a memory and a processing device. The host system 120 may include or be coupled to the storage system 110 so that the host system 120 may read data from or write data to the storage system 110. For example, the host system 120 may be coupled to the storage system 110 via a physical host interface. As used herein, “coupled to” generally refers to a connection between components, which may be an indirect communicative connection or direct communicative connection (e.g., without intervening components), whether wired or wireless, including connections such as, electrical, optical, magnetic, etc. Examples of a physical host interface include, but are not limited to, a serial advanced technology attachment (SATA) interface, a peripheral component interconnect express (PCIe) interface, universal serial bus (USB) interface, Fibre Channel, Serial Attached SCSI (SAS), etc. The physical host interface may be used to transmit data between the host system 120 and the storage system 110. The host system 120 may further utilize an NVM Express (NVMe) interface to access the memory devices 112A to 112N when the storage system 110 is coupled with the host system 120 by the PCIe interface. The physical host interface can provide an interface for passing control, address, data, and other signals between the storage system 110 and the host system 120.

As shown in FIG. 1, the storage system 110 may include a controller 111 and memory devices 112A to 112N. In some embodiments, the memory devices 112A to 112N may be based on non-volatile memory. For example, the memory devices 112A to 112N may be a negative-and (NAND) type flash memory. Each of the memory devices 112A to 112N may include one or more arrays of memory cells such as single level cells (SLCs) or multi-level cells (MLCs) (e.g., triple level cells (TLCs) or quad-level cells (QLCs)). In some embodiments, a particular memory device may include both SLC memory cells and MLC memory cells. Each of the memory cells may store one or more bits of data (e.g., data blocks) used by the host system 120. Although non-volatile memory devices such as NAND type flash memory are described, the memory devices 112A to 112N may be based on any other type of non-volatile memory or volatile memory. For example, the memory devices 112A to 112N may be, but are not limited to, random access memory (RAM), read-only memory (ROM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), phase change memory (PCM), magneto random access memory (MRAM), negative-or (NOR) flash memory, electrically erasable programmable read-only memory (EEPROM), and a cross-point array of non-volatile memory cells. The memory devices 112A to 112N may include any combination of the different types of non-volatile memory or volatile memory. Furthermore, the memory cells of the memory devices 112A to 112N may be grouped as memory pages or data blocks that may refer to a unit of the memory device used to store data.

The controller 111 may communicate with the memory devices 112A to 112N to perform operations such as reading data, writing data, or erasing data at the memory devices 112A to 112N and other such operations. Furthermore, the controller 111 may include hardware such as one or more integrated circuits and/or discrete components, a processing device, a buffer memory, software such as firmware or other instructions, or a combination thereof. In general, the controller 111 may receive commands or operations from the host system 120 and may convert the commands or operations into instructions or appropriate commands to achieve the desired access to the memory devices 112A to 112N. The controller 111 may be responsible for other operations such as wear leveling operations, garbage collection operations, error detection and error-correcting code (ECC) operations, encryption operations, caching operations, and address translations between a logical block address and a physical block address that are associated with the memory devices 112A to 112N. The controller 111 may further include host interface circuitry to communicate with the host system 120 via the physical host interface. The host interface circuitry may convert the commands received from the host system into command instructions to access the memory devices 112A to 112N as well as convert responses associated with the memory devices 112A to 112N into information for the host system 120.

Referring to FIG. 1, the controller 111 may include a decoder component 113 that may be used to decode data stored on memory devices 112A to 112N by using different types of decoding operations. For example, the decoder component 113 may perform a first decoding operation on an identified data block. The decoder component 113 may also determine that the first decoding operation is associated with an unsuccessful correction of an error. For example, if the first decoding operation has a correction capability of 4 errors and a set of bits of the identified data block contains 5 errors, then the decoder component 113 may determine that the first decoding operation is associated with an unsuccessful correction of an error. The decoder component 113 may then identify the set of bits causing the unsuccessful correction of the error and perform a second decoding operation on the set of bits. Further details with regards to the operations of the decoder component 113 are described below.

The storage system 110 may include additional circuitry or components that are not illustrated. For example, the storage system 110 may include a cache or buffer (e.g., DRAM) and address circuitry (e.g., a row decoder and a column decoder) that may receive an address from the controller 111 and decode the address to access the memory devices 112A to 112N.

FIG. 2 is a flow diagram of an example method 200 to perform a second decoding operation on an identified set of bits that caused an unsuccessful correction of an error, in accordance with an embodiment of the present disclosure. The method 200 may be performed by processing logic that may include hardware (e.g., processing device, circuitry, dedicated logic, programmable logic, microcode, hardware of a device, integrated circuit, etc.), software (e.g., instructions run or executed on a processing device), or a combination thereof. In some embodiments, the method 200 may be performed by the decoder component 113 of FIG. 1.

Method 200 may begin with a processing device identifying a data block (block 210). The data block may be a two-dimensional array of rows and columns stored on a storage system. Each row and column may include an encoded error-correcting code that is capable of correcting a particular number of errors (e.g., correction capability). For example, each row and column may be encoded with an error-correcting code having a correction capability of 4. Accordingly, the error-correcting code may be capable of correcting 4 errors (corresponding to four bits) in a corresponding row or column. The processing device may perform a first decoding operation on the data block identified at block 210 (block 220). For example, the first decoding operation may attempt to translate the encoded data into an original string of characters (e.g., codeword) that were encoded onto the storage system. During the decoding process, the first decoding operation may correct errors from the rows and columns up to the error-correction codes correction capability. For example, if a row has 3 errors and the error-correcting code of the first decoding operation has a correction capability of 4, then the 3 errors of the row may be corrected by the first decoding operation.

Subsequent to the first decoding operation, the processing device may determine that the first decoding operation on the data block is associated with an unsuccessful correction of an error of the data block (block 230). An unsuccessful correction of an error may occur when a row or column of the data block contains a greater number of errors than the correction capability of the error-correcting code of the first decoding operation. For example, if a row contains 5 errors and the correction capability of the error-correcting code is 4, then the row may cause an unsuccessful correction of an error in the row. The processing device may then identify a set of bits of the data block that caused the unsuccessful correction of the error (block 240). For example, if a particular set of bits caused the unsuccessful correction of the error (e.g., by having a number of errors greater than the correction capability) during the first decoding operation, then the processing device may identify that particular set of bits as having caused the unsuccessful correction of the error. After identifying the set of bits of the data block, the processing device may perform a second decoding operation on the set of bits of the data block that are associated with the unsuccessful correction of the error (block 250). In one implementation, the second decoding operation may be different than the first decoding operation. For example, the second decoding operation may be used to correct a larger number of errors than the first decoding operation. In some implementations, the second decoding operation may include determining a discrepancy value for each bit from the set of bits, as will be discussed in more detail below. In some implementations, the set of bits may include a number of errors that is greater than the correction capability of the second decoding operations, which may result in the miscorrection of the errors.

FIG. 3A illustrates an example of a data block 300 of a storage system, in accordance with one embodiment of the present disclosure. In some implementations, data block 300 may be decoded by decoder component 113 of FIG. 1.

Data block 300 may be representative of user data stored on a storage system. Data block 300 may include user data (k) of a particular size that has been encoded and stored on the storage system. For example, the user data may have a data size of 6400 bits. Data block 300 may also include error-correcting code (mt) that also has a particular size, where m corresponds to the floor (e.g., the smallest integer larger than) of a binary logarithm of n. For example, error-correcting code may have a data size of 600 bits. The error-correcting code may have a correction capability (t) that indicates the number of errors the error-correcting code is able to correct during a first decoding operation. As previously discussed, the data size of the error-correcting code may correspond to the correction capability of the error-correcting code. For example, an error-correcting code having a correction capability of t=4 may have a larger data size than an error-correcting code having a correction capability of t=3. Data block 300 may have a total block size (n) that is the total of both the user data (k) and the error-correcting code (mt). For example, if the user data has a size of 6400 bits and the error-correcting code has a size of 600 bits, then the data block 300 may have a total block size of 7000 bits.

FIG. 3B illustrates an example of identifying a set of bits of a data block 350 that are associated with an unsuccessful correction of an error, in accordance with some embodiments of the present disclosure. In some implementations, the set of bits may be identified by decoder component 113 of controller 111 of FIG. 1.

The data block 350 may include user data (k) of data block 300. However, rather than being encoded as a single string of bits of data, as illustrated in FIG. 3A, the user data (k) may be encoded into an array of rows and columns, as illustrated in FIG. 3B. For example, if the user data has a data size of 6400 bits, then the 6400 bits may be encoded into data block 350 having 8 rows and 8 columns each being 800 bits, as illustrated in FIG. 3B. Although data block 350 may be illustrated as having an equal number of rows and columns, in other implementations data block 350 may contain various geometries formed of differing numbers of rows and columns.

Each row and column of data block 350 may be encoded with a corresponding error-correcting code (mt), as previously discussed. Furthermore, each row and column may be divided into sets of bits, illustrated as boxes in FIG. 3B. Using the previous example, a row consisting of 80 bits may be divided into 8 sets of bits, where each set of bits includes 10 bits. The error-correcting code may have a correction capability (t) that corresponds to a number of errors the error-correcting code may be able to correct in the error-correcting code's corresponding row or column during a decoding operation. For example, if an error-correcting code for a row has a correction capability of t=4, then the error-correcting code may correct up to 4 errors in that row.

During a decoding operation, the processing device may store status bits 360 that correspond to whether that particular row or column has at least one set of bits that are associated with an unsuccessful correction of an error. For example, if a row or column of data block 350 does not have any sets of bits that caused an unsuccessful correction of an error, then the processing device may set a status bit 360 that corresponds to that particular row or column to read a value of 1. Conversely, if a row or column of data block 350 has at least one set of bits that caused an unsuccessful correction of an error, then the processing device may set a status bit 360 that corresponds to that particular row or column to read a value of 0.

During the decoding operation, the processing device may iteratively decode the rows and columns of data block 350. For example, the processing device may first decode all the rows of the array followed by all the columns of the array, or vice versa. During the decoding operation, some sets of bits may include a number of errors. In the present illustration, data block 350 includes 3 sets of bits that contain a number of errors. One set of bits contains 2 errors, one set of bits includes 3 errors and another set of bits includes 5 errors. In the present illustration, the error-correcting code may have a correction capability of t=4. As each row of the data block 350 is decoded, the processing device may store the status bit as a 1, which indicates that none of the sets of bits for that row are associated with an unsuccessful decoding operation. During the decoding operation the processing device may begin decoding the fifth row from the top of the array that includes the set of bits containing 2 errors, the set of bits containing 3 errors and the set of bits containing 5 errors, resulting in a total number of errors for the row equaling 10. Because the total number of errors for the row is greater than the correction capability (e.g., t=4) of the error-correcting code, the row may cause an unsuccessful correction of an error. Accordingly, the processing device may store the status bit for the row as a 0, indicating that at least one of the sets of bits in the row caused an unsuccessful correction of an error.

Following the decoding of the rows of the array, the processing device may decode each of the columns of the array of data block 350. During the decoding operation the processing device may decode the third column from the left of the array that includes the set of bits containing 2 errors. Because the total number of errors (e.g., 2) is less than the correction capability of the column's error-correcting code (e.g., 4) the decoding operation may successfully correct the 2 errors in the set of bits. After successful correction of the 2 errors in the set of bits, the processing device may store the status bit for the column as a 1, indicating that no sets of bits in the column caused an unsuccessful correction of an error. Similarly, when the processing device decodes the fourth column from the left of the array it may correct the 3 errors in the set of bits and store the status bit for the fourth column as a value of 1. However, the sixth column from the left of the array contains 5 errors. Because the total number of errors (e.g., 5 bits) is greater than the correction capability of the column's error-correcting code (e.g., 4) the set of bits containing 5 errors may cause an unsuccessful correction of an error. Accordingly, the processing device may store the status bit for the sixth column as a 0 to indicate an unsuccessful correction of an error.

FIG. 4 is a flow diagram of an example method 400 to perform a second decoding operation on an identified set of bits that caused an unsuccessful decoding operation based on status bits, in accordance with an embodiment of the present disclosure. The method 400 may be performed by processing logic that may include hardware (e.g., processing device, circuitry, dedicated logic, programmable logic, microcode, hardware of a device, integrated circuit, etc.), software (e.g., instructions run or executed on a processing device), or a combination thereof. In some embodiments, the method 400 may be performed by the decoder component 113 of FIG. 1.

Method 400 may begin by the processing device receiving status bits of a first decoding operation for a data block that is represented by a two-dimensional array of rows and columns (block 410). The status bits may correspond to whether the rows and/or columns are associated with an unsuccessful first decoding operation. For example, if a row is associated with an unsuccessful first decoding operation, then the status bit may have a value of 0. However, if the row is associated with a successful first decoding operation, then the status bit may have a value of 1. In some implementations, the row and/or column may be associated with an unsuccessful first decoding operation when a number of errors for a particular row and/or column is greater than the correction capability of the error-correcting code for that particular row and/or column. The processing device may then identify that at least one row of the two-dimensional array is associated with an unsuccessful first decoding operation based on a first corresponding status bit (block 420). For example, the processing device may identify that a row is associated with an unsuccessful first decoding operation if the row's corresponding status bit has a value of 0. In some implementations, each status bit may correspond to a syndrome value used in aspects of the present disclosure, where the status bit may indicate whether the syndrome value is 0. For example, if a row has a status bit with a value of 1, then the syndrome value for the row may have a value of 0.

The processing device may then determine if there is a column in the array associated with an unsuccessful first decoding operation (block 430). If the processing device determines that none of the columns in the two-dimensional array are associated with an unsuccessful first decoding operation, then the processing device may not perform a second decoding operation (block 450). In some implementations, if the processing device determines that none of the columns are associated with an unsuccessful first decoding operation, then the errors in the two-dimensional array have been successfully corrected by the first decoding operation. If the processing device determines that at least one column of the two-dimensional array is associated with an unsuccessful first decoding operation, then the processing device may identify a set of bits that corresponds to the row identified at block 420 and the column identified at block 430 (block 440). For example, referring back to FIG. 3B, the processing device may identify the set of bits containing 5 errors located at the intersection of the row having a status bit value of 0 and the column having a status bit value of 0. Once the set of bits has been identified, the processing device may perform a second decoding operation on the identified set of bits (block 460).

FIG. 5 is a flow diagram of an example method 500 to perform a second decoding operation having an extra-one-bit decoding on an identified set of bits using a determined discrepancy value, in accordance with embodiments of the present disclosure. The method 500 may be performed by processing logic that may include hardware (e.g., processing device, circuitry, dedicated logic, programmable logic, microcode, hardware of a device, integrated circuit, etc.), software (e.g., instructions run or executed on a processing device), or a combination thereof. In some embodiments, the method 500 may be performed by the decoder component 113 of FIG. 1.

Method 500 may begin by the processing device identifying a set of bits of a data block that is associated with an unsuccessful first decoding operation (block 510). The set of bits may include a particular number of errors that caused the unsuccessful first decoding operation. For example, the identified set of bits may contain 5 errors and the error-correcting code may have a correction capability of 4. In some implementations, more than one set of bits of a data block that are associated with the unsuccessful first decoding operation may be identified. The processing device may then perform a second decoding operation to determine a discrepancy value for each bit of the set of bits (block 520). For example, if a set of bits contains 10 bits, then the processing device may determine 10 discrepancy values, one for each bit of the set of bits. The second decoding operation may be capable of correcting a number of errors one integer greater than the first decoding operation. For example, if the first decoding operation has an error-correcting code with a correction capability of t=4, then the second decoding operation may be capable of correcting 5 errors (e.g., t+1). The discrepancy value may be determined based on outputs of the first decoding operation. The outputs of the first decoding operation may be determined using the following operations:

S=[S ₀ , S ₁ , S ₂ , . . . , S _(2t−1)]  Input:

Λ⁽⁰⁾(x)=1, β⁽⁻¹⁾(x)=x, L _(Λ) ⁽⁰⁾=0, L _(β) ⁽⁻¹⁾=1   Initialization:

For r=0, 2, . . . , 2t−2, determine:

Δ^((r+2))=Σ_(i=0) ^(L) ^(Λ) ^((r)) Λ_(i) ^((r)) ·S _(r-i)

Λ^((r+2))(x)=Λ^((r))(x)−Δ^((r+2))·β^((r−1))(x)

If Δ^((r+2))≠0 and 2L_(Λ) ^((r))≤r, then:

Set β^((r−1))(x)←(Δ^((r+2)))⁻¹ ·x ²Λ^((r))(x)

Set L _(Λ) ^((r+2)) ←L _(β) ^((r−1)) , L _(β) ^((r+1)) ←L _(Λ) ^((r))+2

Else

Set β^((r+1))(x)←x ²β^((r−1))(x)

Set L _(β) ^((r+1)) ←L _(β) ^((r−1))+2, L _(Λ) ^((r+2)) ←L _(Λ) ^((r))

Λ(x), β(x), L_(Λ), L_(β)  Initialization:

Where S corresponds to the syndrome, Λ corresponds to an error locator polynomial, β corresponds to a correction polynomial, L_(Λ) and L_(β) correspond to degrees of corresponding polynomials and r corresponds to the iteration numbers.

Using the outputs of the first decoding operation, the processing device may then determine a discrepancy value for each bit of the set of bits using the following operations:

-   Input: Λ(x), β(x), L_(Λ) -   If L_(Λ)>t=1, then declare unsuccessful decoding operation. -   If L_(Λ)≤t then determine all distinct roots in {α^(−i)}_(i=0)     ^(n−1). If the number of distinct roots is equal to L_(Λ), then     return the corresponding codeword. Otherwise, if L_(A)<t, declare     unsuccessful decoding operation.

Initialization:  δ_(i) = ⌀, i = 0, 1, 2, …  , q − 1 For  i = 0, 1, 2, …  , n − 1  determine: $\Delta_{i} = \frac{\Lambda \left( \alpha^{- i} \right)}{\beta \left( \alpha^{- i} \right)}$

Where δ_(i) corresponds to a set of locations with a discrepancy of i,q corresponds to a field size, i corresponds to a bit location and a corresponds to a primitive field element. In some implementations, Δ_(i) corresponds to a determined discrepancy value for each bit in the identified set of bits of the data block. The processing device may then identify particular bits from the set of bits that have the same discrepancy value (block 530). The number of particular bits may be one integer greater than the correction capability of the error-correction code of the first decoding method. For example, if the error-correction code of the first decoding method has a correction capability of t=4 errors, then the number of particular bits may equal 5 (e.g., t+1). In some implementations, the number of particular bits (e.g., 5) may be equal to the number of errors (e.g., 5) of the set of bits. Once the particular bits have been identified, the processing device may correct the number of errors from the set of bits by changing values of the particular bits (block 540). For example, the processing device may change the value of a particular bit from a 0 to a 1 or vice versa. In some implementations, the processing device may produce a list of possible codewords (e.g., two or more) each having a determined discrepancy value with (t+1) particular bits. The processing device may then select one of the possible codewords at random or using other various methods.

FIG. 6 illustrates an example of determining discrepancy values for a set of bits 600 of a data block that are associated with an unsuccessful decoding operation, in accordance with one embodiment of the present disclosure. In some implementations, the set of bits may be identified by decoder component 113 of FIG. 1.

The set of bits 600 may consist of 10 individual bits, each illustrated as a box. In the present illustration, the set of bits 600 may have 5 errors and the first decoding operation may have had a correction capability of t=4. The processing device may determine discrepancy values Δ₀−Δ₉ for the set of bits 600, where Δ₀ corresponds to the first bit of the set of bits 600 and Δ₉ corresponds to the tenth bit of the set of bits 600. Once the discrepancy values have been determined, the processing device may identify a number of bits having the same discrepancy value. The number of bits may be one integer greater than the correction capability of the error-correcting code of the first decoding operation (e.g., t+1). For example, if the error-correcting code has a correction capability of t=4, then the processing device may identify 5 (e.g., t+1) bits of the set of bits 600 that have the same discrepancy value. In the present illustration, the first, third, sixth, ninth and tenth bits have the same discrepancy value (e.g., 6) and the number of bits equals five. The five bits having the same discrepancy value may be identified as the errors in the set of bits 600. For example, the first, third, sixth, ninth and tenth bits may be identified as the errors in the set of bits 600. After determining which particular bits in the set of bits 600 are the errors, the processing device may change the value of the particular bits. For example, the processing device may change the value of a particular bit that is an error from a 0 to 1 or vice versa.

FIG. 7 illustrates an example machine of a computer system 700 within which a set of instructions, for causing the machine to perform any one or more of the methodologies discussed herein, may be executed. For example, the computer system 700 may correspond to a host system (e.g., the host system 120 of FIG. 1) that includes or utilizes a storage system (e.g., the storage system 110 of FIG. 1) or may be used to perform the operations of a controller (e.g., to execute an operating system to perform operations corresponding to the decoder component 113 of FIG. 1). In alternative implementations, the machine may be connected (e.g., networked) to other machines in a LAN, an intranet, an extranet, and/or the Internet. The machine may operate in the capacity of a server or a client machine in client-server network environment, as a peer machine in a peer-to-peer (or distributed) network environment, or as a server or a client machine in a cloud computing infrastructure or environment.

The example computer system 700 includes a processing device 702, a main memory 704 (e.g., read-only memory (ROM), flash memory, dynamic random access memory (DRAM) such as synchronous DRAM (SDRAM) or Rambus DRAM (RDRAM), etc.), a static memory 706 (e.g., flash memory, static random access memory (SRAM), etc.), and a data storage system 718, which communicate with each other via a bus 730. Processing device 702 represents one or more general-purpose processing devices such as a microprocessor, a central processing unit, or the like. More particularly, the processing device may be a complex instruction set computing (CISC) microprocessor, reduced instruction set computing (RISC) microprocessor, very long instruction word (VLIW) microprocessor, or a processor implementing other instruction sets, or processors implementing a combination of instruction sets. Processing device 702 may also be one or more special-purpose processing devices such as an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), a digital signal processor (DSP), network processor, or the like. The processing device 702 is configured to execute instructions 726 for performing the operations and steps discussed herein. The computer system 700 may further include a network interface device 708 to communicate over the network 720.

The data storage system 718 may include a machine-readable storage medium 724 (also known as a computer-readable medium) on which is stored one or more sets of instructions or software 726 embodying any one or more of the methodologies or functions described herein. The instructions 726 may also reside, completely or at least partially, within the main memory 704 and/or within the processing device 702 during execution thereof by the computer system 700, the main memory 704 and the processing device 702 also constituting machine-readable storage media. The machine-readable storage medium 724, data storage system 718, and/or main memory 704 may correspond to the storage system 110 of FIG. 1.

In one implementation, the instructions 726 include instructions to implement functionality corresponding to a decoder component (e.g., decoder component 113 of FIG. 1). While the machine-readable storage medium 724 is shown in an example implementation to be a single medium, the term “machine-readable storage medium” should be taken to include a single medium or multiple media that store the one or more sets of instructions. The term “machine-readable storage medium” shall also be taken to include any medium that is capable of storing or encoding a set of instructions for execution by the machine and that cause the machine to perform any one or more of the methodologies of the present disclosure. The term “machine-readable storage medium” shall accordingly be taken to include, but not be limited to, solid-state memories, optical media, and magnetic media.

Some portions of the preceding detailed descriptions have been presented in terms of algorithms and symbolic representations of operations on data bits within a computer memory. These algorithmic descriptions and representations are the ways used by those skilled in the data processing arts to most effectively convey the substance of their work to others skilled in the art. An algorithm is here, and generally, conceived to be a self-consistent sequence of operations leading to a desired result. The operations are those requiring physical manipulations of physical quantities. Usually, though not necessarily, these quantities take the form of electrical or magnetic signals capable of being stored, combined, compared, and otherwise manipulated. It has proven convenient at times, principally for reasons of common usage, to refer to these signals as bits, values, elements, symbols, characters, terms, numbers, or the like.

It should be borne in mind, however, that all of these and similar terms are to be associated with the appropriate physical quantities and are merely convenient labels applied to these quantities. The present disclosure may refer to the action and processes of a computer system, or similar electronic computing device, that manipulates and transforms data represented as physical (electronic) quantities within the computer system's registers and memories into other data similarly represented as physical quantities within the computer system memories or registers or other such information storage systems.

The present disclosure also relates to an apparatus for performing the operations herein. This apparatus may be specially constructed for the intended purposes, or it may include a general purpose computer selectively activated or reconfigured by a computer program stored in the computer. Such a computer program may be stored in a computer readable storage medium, such as, but not limited to, any type of disk including floppy disks, optical disks, CD-ROMs, and magnetic-optical disks, read-only memories (ROMs), random access memories (RAMs), EPROMs, EEPROMs, magnetic or optical cards, or any type of media suitable for storing electronic instructions, each coupled to a computer system bus.

The algorithms and displays presented herein are not inherently related to any particular computer or other apparatus. Various general purpose systems may be used with programs in accordance with the teachings herein, or it may prove convenient to construct a more specialized apparatus to perform the method. The structure for a variety of these systems will appear as set forth in the description below. In addition, the present disclosure is not described with reference to any particular programming language. It will be appreciated that a variety of programming languages may be used to implement the teachings of the disclosure as described herein.

The present disclosure may be provided as a computer program product, or software, that may include a machine-readable medium having stored thereon instructions, which may be used to program a computer system (or other electronic devices) to perform a process according to the present disclosure. A machine-readable medium includes any mechanism for storing information in a form readable by a machine (e.g., a computer). For example, a machine-readable (e.g., computer-readable) medium includes a machine (e.g., a computer) readable storage medium such as a read only memory (“ROM”), random access memory (“RAM”), magnetic disk storage media, optical storage media, flash memory devices, etc.

In the foregoing specification, implementations of the disclosure have been described with reference to specific example implementations thereof. It will be evident that various modifications may be made thereto without departing from the broader spirit and scope of implementations of the disclosure as set forth in the following claims. The specification and drawings are, accordingly, to be regarded in an illustrative sense rather than a restrictive sense. 

What is claimed is:
 1. A system comprising: a memory device; and a processing device, operatively coupled with the memory device, to: identify a data block; perform a first decoding operation on the data block; determine that the first decoding operation on the data block is associated with an unsuccessful correction of an error of the data block; identify a set of bits of the data block that caused the unsuccessful correction of the error of the data block; and in response to identifying the set of bits of the data block that is associated with the unsuccessful correction of the error, perform a second decoding operation on the set of bits of the data block, wherein the second decoding operation is different than the first decoding operation.
 2. The system of claim 1, wherein the first decoding operation is to correct a first number of errors in a particular set of bits of the data block and wherein the set of bits of the data block that caused the unsuccessful correction of the error comprises a second number of errors that is greater than the first number of errors that the first decoding operation is to correct.
 3. The system of claim 2, wherein the second decoding operation is to correct the second number of errors in the particular set of bits of the data block, the second number of errors being one integer greater than the first number of errors to be corrected by the first decoding operation.
 4. The system of claim 3, wherein to perform the second decoding operation on the set of bits of the data block, the processing device is further to: determine a discrepancy value for each bit of the set of bits; and identify particular bits of the set of bits having a same determined discrepancy value, wherein a number of the particular bits is equal to the second number of errors.
 5. The system of claim 4, wherein the discrepancy value is based on outputs of the first decoding operation performed on the data block.
 6. The system of claim 1, wherein the data block is represented by a plurality of rows and a plurality of columns and wherein to identify the set of bits of the data block that caused the unsuccessful correction of the error of the data block, the processing device is further to: determine at least one row of the plurality of rows of the data block that is associated with the unsuccessful correction of the error; and determine at least one column of the plurality of columns of the data block that is associated with the unsuccessful correction of the error.
 7. The system of claim 1, wherein the data block is represented by a plurality of rows and a plurality of columns, the processing device further to: store a first status bit for each row of the plurality of rows that indicates whether the first decoding operation was associated with a successful or unsuccessful correction of the error for a corresponding row of the plurality of rows; and store a second status bit for each column of the plurality of columns that indicates whether the first decoding operation was associated with a successful or unsuccessful correction of the error for a corresponding column of the plurality of columns, wherein identifying the set of bits of the data block that caused the unsuccessful correction of the error is based on the first status bit for the corresponding row and the second status bit for the corresponding column indicating that the first decoding operation was associated with the unsuccessful correction of the error.
 8. A method comprising: identifying a data block; performing a first decoding operation on the data block; determining that the first decoding operation on the data block is associated with an unsuccessful correction of an error of the data block; identifying a set of bits of the data block that caused the unsuccessful correction of the error of the data block; and in response to identifying the set of bits of the data block that is associated with the unsuccessful correction of the error, performing, by a processing device, a second decoding operation on the set of bits of the data block, wherein the second decoding operation is different than the first decoding operation.
 9. The method of claim 8, wherein the first decoding operation is to correct a first number of errors in a particular set of bits of the data block and wherein the set of bits of the data block that caused the unsuccessful correction of the error comprises a second number of errors that is greater than the first number of errors that the first decoding operation is to correct.
 10. The method of claim 9, wherein the second decoding operation is to correct the second number of errors in the particular set of bits of the data block, the second number of errors being one integer greater than the first number of errors to be corrected by the first decoding operation.
 11. The method of claim 10, wherein performing the second decoding operation on the set of bits of the data block comprises: determining a discrepancy value for each bit of the set of bits; and identifying particular bits of the set of bits having a same determined discrepancy value, wherein a number of the particular bits is equal to the second number of errors.
 12. The method of claim 11, wherein the discrepancy value is based on outputs of the first decoding operation performed on the data block.
 13. The method of claim 8, wherein the data block is represented by a plurality of rows and a plurality of columns and wherein identifying the set of bits of the data block that caused the unsuccessful correction of the error of the data block comprises: determining at least one row of the plurality of rows of the data block that is associated with the unsuccessful correction of the error; and determining at least one column of the plurality of columns of the data block that is associated with the unsuccessful correction of the error.
 14. The method of claim 8, wherein the data block is represented by a plurality of rows and a plurality of columns, the method further comprising: storing a first status bit for each row of the plurality of rows that indicates whether the first decoding operation was associated with a successful or unsuccessful correction of the error for a corresponding row of the plurality of rows; and storing a second status bit for each column of the plurality of columns that indicates whether the first decoding operation was associated with a successful or unsuccessful correction of the error for a corresponding column of the plurality of columns, wherein identifying the set of bits of the data block that caused the unsuccessful correction of the error is based on the first status bit for the corresponding row and the second status bit for the corresponding column indicating that the first decoding operation was associated with the unsuccessful correction of the error.
 15. A system comprising: a memory device; and a processing device, operatively coupled with the memory device, to: identify a set of bits of a data block that is associated with an unsuccessful first decoding operation, the set of bits comprising a number of errors; perform a second decoding operation to determine a discrepancy value for each bit of the set of bits; identify particular bits from the set of bits having a same determined discrepancy value, wherein a number of the particular bits from the set of bits corresponds to the number of errors; and correct the number of errors from the set of bits by changing values of the particular bits.
 16. The system of claim 15, wherein determining the discrepancy value is based on outputs of the unsuccessful first decoding operation.
 17. The system of claim 15, wherein the processing device is further to: perform a first decoding operation that is to correct a second number of errors in the set of bits of the data block, wherein the second number of errors is one integer less than the number of errors and wherein the identifying of the set of bits of the data block that is associated with the unsuccessful first decoding operation is in response to performing the first decoding operation.
 18. The system of claim 15, wherein the data block is represented by a plurality of rows and a plurality of columns, and wherein to identify the set of bits of the data block that is associated with the unsuccessful first decoding operation, the processing device is further to: determine at least one row of the plurality of rows of the data block is associated with the unsuccessful first decoding operation; and determine at least one column of the plurality of columns of the data block is associated with the unsuccessful first decoding operation.
 19. The system of claim 15, wherein identifying the set of bits of the data block that is associated with the unsuccessful first decoding operation is based on at least one status bit corresponding to the set of bits of the data block indicating the unsuccessful first decoding operation.
 20. The system of claim 15, wherein the processing device is further to: in response to correcting the number of errors from the set of bits, identify a code word associated with the corrected set of bits of the data block. 